.class Lcom/estrongs/android/taskmanager/fh;
.super Landroid/widget/BaseAdapter;


# instance fields
.field a:Ljava/util/HashMap;

.field final synthetic b:Lcom/estrongs/android/taskmanager/dp;

.field private c:Landroid/view/LayoutInflater;

.field private d:Ljava/util/List;


# direct methods
.method public constructor <init>(Lcom/estrongs/android/taskmanager/dp;Landroid/content/Context;)V
    .locals 1

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->a:Ljava/util/HashMap;

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->c:Landroid/view/LayoutInflater;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/fh;)Lcom/estrongs/android/taskmanager/dp;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    return-object v0
.end method

.method private a(IIIIILjava/lang/String;)Z
    .locals 8

    const/16 v7, 0x5a0

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_3

    :cond_1
    move v2, v3

    :cond_2
    :goto_0
    return v2

    :cond_3
    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/fg;

    iget v1, v0, Lcom/estrongs/android/taskmanager/fg;->a:I

    if-eq p1, v1, :cond_0

    move v1, v2

    :goto_1
    invoke-virtual {p6}, Ljava/lang/String;->length()I

    move-result v5

    if-ge v1, v5, :cond_0

    iget-object v5, v0, Lcom/estrongs/android/taskmanager/fg;->i:Ljava/lang/String;

    invoke-virtual {p6, v1}, Ljava/lang/String;->charAt(I)C

    move-result v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_7

    invoke-direct {p0, p2, p3, p4, p5}, Lcom/estrongs/android/taskmanager/fh;->a(IIII)[I

    move-result-object v1

    iget v4, v0, Lcom/estrongs/android/taskmanager/fg;->e:I

    iget v5, v0, Lcom/estrongs/android/taskmanager/fg;->f:I

    iget v6, v0, Lcom/estrongs/android/taskmanager/fg;->g:I

    iget v0, v0, Lcom/estrongs/android/taskmanager/fg;->h:I

    invoke-direct {p0, v4, v5, v6, v0}, Lcom/estrongs/android/taskmanager/fh;->a(IIII)[I

    move-result-object v0

    aget v4, v1, v2

    aget v5, v0, v2

    if-eq v4, v5, :cond_2

    aget v4, v1, v2

    aget v5, v0, v2

    if-le v4, v5, :cond_5

    aget v4, v1, v2

    aget v5, v1, v3

    add-int/2addr v4, v5

    if-ge v4, v7, :cond_4

    aget v4, v0, v2

    aget v0, v0, v3

    add-int/2addr v0, v4

    aget v1, v1, v2

    if-ge v0, v1, :cond_2

    move v2, v3

    goto :goto_0

    :cond_4
    aget v4, v0, v2

    aget v5, v0, v3

    add-int/2addr v4, v5

    aget v5, v1, v2

    if-ge v4, v5, :cond_2

    aget v4, v1, v2

    aget v1, v1, v3

    add-int/2addr v1, v4

    add-int/lit16 v1, v1, -0x5a0

    aget v0, v0, v2

    if-ge v1, v0, :cond_2

    move v2, v3

    goto :goto_0

    :cond_5
    aget v4, v0, v2

    aget v5, v0, v3

    add-int/2addr v4, v5

    if-ge v4, v7, :cond_6

    aget v4, v1, v2

    aget v1, v1, v3

    add-int/2addr v1, v4

    aget v0, v0, v2

    if-ge v1, v0, :cond_2

    move v2, v3

    goto :goto_0

    :cond_6
    aget v4, v1, v2

    aget v5, v1, v3

    add-int/2addr v4, v5

    aget v5, v0, v2

    if-ge v4, v5, :cond_2

    aget v4, v0, v2

    aget v0, v0, v3

    add-int/2addr v0, v4

    add-int/lit16 v0, v0, -0x5a0

    aget v1, v1, v2

    if-ge v0, v1, :cond_2

    move v2, v3

    goto/16 :goto_0

    :cond_7
    add-int/lit8 v1, v1, 0x1

    goto/16 :goto_1
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/fh;IIIIILjava/lang/String;)Z
    .locals 1

    invoke-direct/range {p0 .. p6}, Lcom/estrongs/android/taskmanager/fh;->a(IIIIILjava/lang/String;)Z

    move-result v0

    return v0
.end method

.method private a(IIII)[I
    .locals 4

    add-int/lit8 v0, p3, 0x18

    sub-int/2addr v0, p1

    rem-int/lit8 v1, v0, 0x18

    if-lt p4, p2, :cond_0

    sub-int v0, p4, p2

    :goto_0
    mul-int/lit8 v2, p1, 0x3c

    add-int/2addr v2, p2

    mul-int/lit8 v1, v1, 0x3c

    add-int/2addr v0, v1

    const/4 v1, 0x2

    new-array v1, v1, [I

    const/4 v3, 0x0

    aput v2, v1, v3

    const/4 v2, 0x1

    aput v0, v1, v2

    return-object v1

    :cond_0
    add-int/lit8 v1, v1, -0x1

    add-int/lit8 v0, p2, 0x3c

    sub-int/2addr v0, p4

    goto :goto_0
.end method


# virtual methods
.method public a()V
    .locals 11

    const/4 v10, 0x0

    const/4 v9, 0x1

    new-instance v0, Lcom/estrongs/android/taskmanager/tools/e;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    iget-object v1, v1, Lcom/estrongs/android/taskmanager/dp;->mActivity:Landroid/app/Activity;

    invoke-direct {v0, v1}, Lcom/estrongs/android/taskmanager/tools/e;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/tools/e;->a()Landroid/database/Cursor;

    move-result-object v1

    if-eqz v1, :cond_1

    invoke-interface {v1}, Landroid/database/Cursor;->getCount()I

    move-result v2

    if-gt v9, v2, :cond_1

    new-instance v2, Ljava/util/LinkedList;

    invoke-direct {v2}, Ljava/util/LinkedList;-><init>()V

    :goto_0
    invoke-interface {v1}, Landroid/database/Cursor;->moveToNext()Z

    move-result v3

    if-nez v3, :cond_0

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    :goto_1
    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/tools/e;->b()V

    return-void

    :cond_0
    const-string v3, "ID"

    invoke-interface {v1, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v1, v3}, Landroid/database/Cursor;->getInt(I)I

    move-result v3

    const-string v4, "START_TIME"

    invoke-interface {v1, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v1, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    const-string v5, "STOP_TIME"

    invoke-interface {v1, v5}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v1, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v5

    const-string v6, "WEEKS"

    invoke-interface {v1, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v6

    invoke-interface {v1, v6}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v6

    const-string v7, "MODE"

    invoke-interface {v1, v7}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v7

    invoke-interface {v1, v7}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v7

    new-instance v8, Lcom/estrongs/android/taskmanager/fg;

    invoke-direct {v8}, Lcom/estrongs/android/taskmanager/fg;-><init>()V

    iput v3, v8, Lcom/estrongs/android/taskmanager/fg;->a:I

    iput-object v4, v8, Lcom/estrongs/android/taskmanager/fg;->c:Ljava/lang/String;

    iput-object v5, v8, Lcom/estrongs/android/taskmanager/fg;->d:Ljava/lang/String;

    const-string v3, ":"

    invoke-virtual {v4, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v3

    const-string v4, ":"

    invoke-virtual {v5, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v4

    aget-object v5, v3, v10

    invoke-static {v5}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v5

    iput v5, v8, Lcom/estrongs/android/taskmanager/fg;->e:I

    aget-object v3, v3, v9

    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    iput v3, v8, Lcom/estrongs/android/taskmanager/fg;->f:I

    aget-object v3, v4, v10

    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    iput v3, v8, Lcom/estrongs/android/taskmanager/fg;->g:I

    aget-object v3, v4, v9

    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    iput v3, v8, Lcom/estrongs/android/taskmanager/fg;->h:I

    iput-object v6, v8, Lcom/estrongs/android/taskmanager/fg;->i:Ljava/lang/String;

    const-string v3, "1"

    invoke-virtual {v3, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    iput-boolean v3, v8, Lcom/estrongs/android/taskmanager/fg;->b:Z

    invoke-virtual {v2, v8}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    goto/16 :goto_1
.end method

.method public b()V
    .locals 6

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    if-eqz v0, :cond_0

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v3

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    if-lt v1, v3, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/dp;->d:Landroid/widget/TextView;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/fg;

    iget-boolean v4, v0, Lcom/estrongs/android/taskmanager/fg;->b:Z

    if-eqz v4, :cond_2

    iget-object v4, v0, Lcom/estrongs/android/taskmanager/fg;->c:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, " - "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, v0, Lcom/estrongs/android/taskmanager/fg;->d:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "   "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/fg;->i:Ljava/lang/String;

    invoke-static {v5, v0}, Lcom/estrongs/android/taskmanager/dp;->a(Lcom/estrongs/android/taskmanager/dp;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v0, v3, -0x1

    if-ge v1, v0, :cond_2

    const-string v0, "\n"

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method public c()V
    .locals 8

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-gt v0, v1, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v7

    :cond_0
    :goto_0
    invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    return-void

    :cond_2
    invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    move-object v6, v0

    check-cast v6, Lcom/estrongs/android/taskmanager/fg;

    iget-boolean v0, v6, Lcom/estrongs/android/taskmanager/fg;->b:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/dp;->mActivity:Landroid/app/Activity;

    iget v1, v6, Lcom/estrongs/android/taskmanager/fg;->a:I

    iget v2, v6, Lcom/estrongs/android/taskmanager/fg;->e:I

    iget v3, v6, Lcom/estrongs/android/taskmanager/fg;->f:I

    iget v4, v6, Lcom/estrongs/android/taskmanager/fg;->g:I

    iget v5, v6, Lcom/estrongs/android/taskmanager/fg;->h:I

    iget-object v6, v6, Lcom/estrongs/android/taskmanager/fg;->i:Ljava/lang/String;

    invoke-static/range {v0 .. v6}, Lcom/estrongs/android/taskmanager/o;->a(Landroid/content/Context;IIIIILjava/lang/String;)V

    goto :goto_0
.end method

.method public d()V
    .locals 3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-gt v0, v1, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    return-void

    :cond_2
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/fg;

    iget-boolean v2, v0, Lcom/estrongs/android/taskmanager/fg;->b:Z

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    iget-object v2, v2, Lcom/estrongs/android/taskmanager/dp;->mActivity:Landroid/app/Activity;

    iget v0, v0, Lcom/estrongs/android/taskmanager/fg;->a:I

    invoke-static {v2, v0}, Lcom/estrongs/android/taskmanager/o;->a(Landroid/content/Context;I)V

    goto :goto_0
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    goto :goto_0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x0

    if-nez p2, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->c:Landroid/view/LayoutInflater;

    const v1, 0x7f030006

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/estrongs/android/taskmanager/fl;

    invoke-direct {v1}, Lcom/estrongs/android/taskmanager/fl;-><init>()V

    const v0, 0x7f090047

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/estrongs/android/taskmanager/fl;->b:Landroid/widget/TextView;

    const v0, 0x7f090046

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/estrongs/android/taskmanager/fl;->a:Landroid/view/View;

    const v0, 0x7f090048

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/estrongs/android/taskmanager/fl;->c:Landroid/widget/TextView;

    const v0, 0x7f090049

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/estrongs/android/taskmanager/fl;->d:Landroid/widget/ImageView;

    const v0, 0x7f09004a

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/estrongs/android/taskmanager/fl;->e:Landroid/widget/ImageView;

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fh;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/fg;

    iget-boolean v2, v0, Lcom/estrongs/android/taskmanager/fg;->b:Z

    if-eqz v2, :cond_1

    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->d:Landroid/widget/ImageView;

    invoke-virtual {v2, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->e:Landroid/widget/ImageView;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/fh;->b()V

    :goto_1
    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->b:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    iget-object v4, v0, Lcom/estrongs/android/taskmanager/fg;->c:Ljava/lang/String;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, " - "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v0, Lcom/estrongs/android/taskmanager/fg;->d:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/fh;->b:Lcom/estrongs/android/taskmanager/dp;

    iget-object v4, v0, Lcom/estrongs/android/taskmanager/fg;->i:Ljava/lang/String;

    invoke-static {v3, v4}, Lcom/estrongs/android/taskmanager/dp;->a(Lcom/estrongs/android/taskmanager/dp;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->d:Landroid/widget/ImageView;

    new-instance v3, Lcom/estrongs/android/taskmanager/fi;

    invoke-direct {v3, p0, v0, v1}, Lcom/estrongs/android/taskmanager/fi;-><init>(Lcom/estrongs/android/taskmanager/fh;Lcom/estrongs/android/taskmanager/fg;Lcom/estrongs/android/taskmanager/fl;)V

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->e:Landroid/widget/ImageView;

    new-instance v3, Lcom/estrongs/android/taskmanager/fj;

    invoke-direct {v3, p0, v0, v1}, Lcom/estrongs/android/taskmanager/fj;-><init>(Lcom/estrongs/android/taskmanager/fh;Lcom/estrongs/android/taskmanager/fg;Lcom/estrongs/android/taskmanager/fl;)V

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Lcom/estrongs/android/taskmanager/fk;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/taskmanager/fk;-><init>(Lcom/estrongs/android/taskmanager/fh;Lcom/estrongs/android/taskmanager/fg;)V

    iget-object v0, v1, Lcom/estrongs/android/taskmanager/fl;->a:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-object p2

    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/fl;

    move-object v1, v0

    goto :goto_0

    :cond_1
    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->d:Landroid/widget/ImageView;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v2, v1, Lcom/estrongs/android/taskmanager/fl;->e:Landroid/widget/ImageView;

    invoke-virtual {v2, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/fh;->b()V

    goto :goto_1
.end method

.method public notifyDataSetChanged()V
    .locals 0

    invoke-super {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/fh;->b()V

    return-void
.end method
